package com.ncjzw.ms.po;

import com.ncjzw.ms.vo.AdminVO;

/**
 * Admin entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Admin implements java.io.Serializable {

	// Fields

	private Integer aid;
	private String realname;
	private String uname;
	private String upass;
	private Integer num;
	private String remark1;
	private String remark2;
	private String remark3;
	private String remark4;
	private String remark5;

	// Constructors

	/** default constructor */
	public Admin() {
	}

	/** full constructor */
	public Admin(String realname, String uname, String upass, Integer num,
			String remark1, String remark2, String remark3, String remark4,
			String remark5) {
		this.realname = realname;
		this.uname = uname;
		this.upass = upass;
		this.num = num;
		this.remark1 = remark1;
		this.remark2 = remark2;
		this.remark3 = remark3;
		this.remark4 = remark4;
		this.remark5 = remark5;
	}
	
	/** vo to po */
	public Admin(AdminVO admin) {
		this.aid = admin.getAid();
		this.realname = admin.getRealname();
		this.uname = admin.getUname();
		this.upass = admin.getUpass();
		this.num = admin.getNum();
		this.remark1 = admin.getRemark1();
		this.remark2 = admin.getRemark2();
		this.remark3 = admin.getRemark3();
		this.remark4 = admin.getRemark4();
		this.remark5 = admin.getRemark5();

	}

	// Property accessors

	public Integer getAid() {
		return this.aid;
	}

	public void setAid(Integer aid) {
		this.aid = aid;
	}

	public String getRealname() {
		return this.realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getUname() {
		return this.uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getUpass() {
		return this.upass;
	}

	public void setUpass(String upass) {
		this.upass = upass;
	}

	public Integer getNum() {
		return this.num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getRemark1() {
		return this.remark1;
	}

	public void setRemark1(String remark1) {
		this.remark1 = remark1;
	}

	public String getRemark2() {
		return this.remark2;
	}

	public void setRemark2(String remark2) {
		this.remark2 = remark2;
	}

	public String getRemark3() {
		return this.remark3;
	}

	public void setRemark3(String remark3) {
		this.remark3 = remark3;
	}

	public String getRemark4() {
		return this.remark4;
	}

	public void setRemark4(String remark4) {
		this.remark4 = remark4;
	}

	public String getRemark5() {
		return this.remark5;
	}

	public void setRemark5(String remark5) {
		this.remark5 = remark5;
	}

}